package com.ruoyi.kenuo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 kernel_measure_record
 *
 * @author polo tang
 * @date 2023-09-08
 */
public class KernelMeasureRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 测量人账号 */
    @Excel(name = "测量人账号")
    private String measureUser;

    /** 测量人id */
    @Excel(name = "测量人id")
    private Long measureUserId;

    /** 测量人昵称 */
    @Excel(name = "测量人昵称")
    private String measureUserName;

    /** 1:患者端测量（有账号）   2：医生新建病历测量（无账号） */
    @Excel(name = "1:患者端测量", readConverterExp = "有=账号")
    private Long surType;

    /** 我的医生的账号 */
    @Excel(name = "我的医生的账号")
    private String doctorUser;

    /** 我的医生的id */
    @Excel(name = "我的医生的id")
    private Long doctorUserId;

    /** 我的医生的昵称 */
    @Excel(name = "我的医生的昵称")
    private String doctorUserName;

    /** 1:左  2:右 */
    @Excel(name = "1:左  2:右")
    private Long leftOr;

    /** 测量值 */
    @Excel(name = "测量值")
    private Long measureValue;

    /** 1:正常  2:低压  3:高压 */
    @Excel(name = "1:正常  2:低压  3:高压")
    private Long state;

    /** 测量时间 */
    @Excel(name = "测量时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date measureTime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String remarkOne;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String remarkTwo;

    /** 备用字段2 */
    private String remarkThree;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMeasureUser(String measureUser)
    {
        this.measureUser = measureUser;
    }

    public String getMeasureUser()
    {
        return measureUser;
    }
    public void setMeasureUserId(Long measureUserId)
    {
        this.measureUserId = measureUserId;
    }

    public Long getMeasureUserId()
    {
        return measureUserId;
    }
    public void setMeasureUserName(String measureUserName)
    {
        this.measureUserName = measureUserName;
    }

    public String getMeasureUserName()
    {
        return measureUserName;
    }
    public void setSurType(Long surType)
    {
        this.surType = surType;
    }

    public Long getSurType()
    {
        return surType;
    }
    public void setDoctorUser(String doctorUser)
    {
        this.doctorUser = doctorUser;
    }

    public String getDoctorUser()
    {
        return doctorUser;
    }
    public void setDoctorUserId(Long doctorUserId)
    {
        this.doctorUserId = doctorUserId;
    }

    public Long getDoctorUserId()
    {
        return doctorUserId;
    }
    public void setDoctorUserName(String doctorUserName)
    {
        this.doctorUserName = doctorUserName;
    }

    public String getDoctorUserName()
    {
        return doctorUserName;
    }
    public void setLeftOr(Long leftOr)
    {
        this.leftOr = leftOr;
    }

    public Long getLeftOr()
    {
        return leftOr;
    }
    public void setMeasureValue(Long measureValue)
    {
        this.measureValue = measureValue;
    }

    public Long getMeasureValue()
    {
        return measureValue;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setMeasureTime(Date measureTime)
    {
        this.measureTime = measureTime;
    }

    public Date getMeasureTime()
    {
        return measureTime;
    }
    public void setRemarkOne(String remarkOne)
    {
        this.remarkOne = remarkOne;
    }

    public String getRemarkOne()
    {
        return remarkOne;
    }
    public void setRemarkTwo(String remarkTwo)
    {
        this.remarkTwo = remarkTwo;
    }

    public String getRemarkTwo()
    {
        return remarkTwo;
    }
    public void setRemarkThree(String remarkThree)
    {
        this.remarkThree = remarkThree;
    }

    public String getRemarkThree()
    {
        return remarkThree;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("measureUser", getMeasureUser())
            .append("measureUserId", getMeasureUserId())
            .append("measureUserName", getMeasureUserName())
            .append("surType", getSurType())
            .append("doctorUser", getDoctorUser())
            .append("doctorUserId", getDoctorUserId())
            .append("doctorUserName", getDoctorUserName())
            .append("leftOr", getLeftOr())
            .append("measureValue", getMeasureValue())
            .append("state", getState())
            .append("measureTime", getMeasureTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remarkOne", getRemarkOne())
            .append("remarkTwo", getRemarkTwo())
            .append("remarkThree", getRemarkThree())
            .toString();
    }
}
